package com.thingsgrid.basicInterface.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.thingsgrid.basicInterface.entity.BasicInterface;
import com.thingsgrid.basicInterface.vo.BasicInterfaceVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 *  服务类
 *
 * @author BladeX
 * @since 2019-08-10
 */
public interface IBasicInterfaceService extends IService<BasicInterface> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param basicInterface
	 * @return
	 */
	IPage<BasicInterfaceVo> selectBasicInterfacePage(IPage<BasicInterfaceVo> page, BasicInterfaceVo basicInterface);



	/**
	 * 自定义分页
	 * @param page
	 * @param
	 * @return
	 */
	IPage<BasicInterfaceVo> selectApiandTypeName(IPage<BasicInterfaceVo> page, Wrapper<BasicInterfaceVo> wrapper);

	/**
	 * 根据权限包查询接口
	 *
	 */
	List<BasicInterface> selectByTypeId(Long id);

}
